import request from '@/util/request'

export function GetList(data) {
	return request({
		url: '/project/getList',
		method: 'post',
		data: data
	})
}

export function ProjectList() {
	return request({
		url: '/project/projectList',
		method: 'get'
	})
}

export function GetInfo(id) {
	return request({
		url: '/project/getById/' + id,
		method: 'get'
	})
}

export function Delete(ids) {
	return request({
		url: '/project/delete',
		method: 'post',
		data: ids
	})
}

export function Insert(data) {
	return request({
		url: '/project/insert',
		method: 'post',
		data: data
	})
}

export function Update(data) {
	return request({
		url: '/project/update',
		method: 'post',
		data: data
	})
}